// 1.引入express包
const express = require("express");
// 2.使用Router来创建路由
const router = express.Router();
// 3.引入控制器模块
const ctrHot = require("../controllers/ctrHot");

// 页面渲染
router.get("/hot/:id", ctrHot.hot);
router.get("/showMore", ctrHot.showMore);

// 暴露路由
module.exports = router;
